#include<stdio.h>
int main()
{
    int h=10;
    float x1,x2,x3,x4;
    float d1,d2,d3,d4;
    x1=x4;
    x4=2;
    x2=x3;
    x3=-2;
    float y1,y2,y3,y4;
    y1=y2;
    y3=y4;
    y2=2;
    y3=y4;
    int x,y;
    printf("please enter a point\n");
    scanf("%d,%d",&x,&y);
    d1=(x-x1)*(x-x1)+(y-y1)*(y-y1);
    d2=(x-x2)*(x-x2)+(y-y2)*(y-y2);
    d3=(x-x3)*(x-x3)+(y-y3)*(y-y3);
    d4=(x-x4)*(x-x4)+(y-y4)*(y-y4);
    if(d1>1&&d2>1&&d3>1&d4>1){
        h=0;
    }
    else 
    printf("h is %d\n",h);
    return 0;
    


}